package com.yunji.common.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.message.dto
 * @Title: MalfunctionDTO
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-10-30 15:05:18      V1.0        HuaAo       新建类
 */
@Data
public class MalfunctionDTO {

    @ApiModelProperty(value = "故障类型名称", required = true)
    @NotNull(message = "故障类型名称不能为空")
    private String malfunctionName;

    @ApiModelProperty("故障类型ID")
    private Long malfunctionId;

    @ApiModelProperty(value = "排序", required = true)
    @NotNull(message = "排序不能为空")
    private Integer sort;

}